package com.ruoyi.electronicFence.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警阈值配置表对象 t_ef_alert_threshold
 * 
 * @author ygsj
 * @date 2024-04-10
 */
public class AlertThreshold extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 单位编码 */
    @Excel(name = "单位编码")
    private String unitCode;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alertType;

    /** 报警类型名称 */
    @Excel(name = "报警类型名称")
    private String alertTypeName;

    /** 报警等级 */
    @Excel(name = "报警等级")
    private String alertLevel;

    /** 报警阈值 */
    @Excel(name = "报警阈值")
    private String alertValue;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUnitCode(String unitCode) 
    {
        this.unitCode = unitCode;
    }

    public String getUnitCode() 
    {
        return unitCode;
    }
    public void setAlertType(String alertType) 
    {
        this.alertType = alertType;
    }

    public String getAlertType() 
    {
        return alertType;
    }
    public void setAlertTypeName(String alertTypeName) 
    {
        this.alertTypeName = alertTypeName;
    }

    public String getAlertTypeName() 
    {
        return alertTypeName;
    }
    public void setAlertLevel(String alertLevel) 
    {
        this.alertLevel = alertLevel;
    }

    public String getAlertLevel() 
    {
        return alertLevel;
    }
    public void setAlertValue(String alertValue) 
    {
        this.alertValue = alertValue;
    }

    public String getAlertValue() 
    {
        return alertValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitCode", getUnitCode())
            .append("alertType", getAlertType())
            .append("alertTypeName", getAlertTypeName())
            .append("alertLevel", getAlertLevel())
            .append("alertValue", getAlertValue())
            .toString();
    }
}
